23.1 The classical thermodynamics of electromagnetic radiation